<?php
class Video_file_Controller extends Base_Controller {

    public function action_list()
    {
        if (!Input::has('per_page') ) {
            return Response::json(array(
                                'errno' => UMSErrcode::PARA_ERR,
            ));
        }
        
        $per_page=intval(Input::get('per_page'));
        $fuLogic=new FileUploadLogic($per_page);
        $ret=$fuLogic->listItem($per_page);
        return Response::json($ret);
    }
    
}
?>